package com.anXin.mall.service;

import com.anXin.model.common.dtos.ResponseResult;
import com.anXin.model.mall.pojos.Goods;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface GoodsService extends IService<Goods> {
    ResponseResult<Page<Goods>> getGoodsPage(int page,int pageSize);

    ResponseResult<Goods> getGoods(Long id);

    ResponseResult<String> updataGoods(Goods goods);

    ResponseResult<String> deleteGoods(Long id);
}
